cmake_minimum_required(VERSION 3.0)
project(server)

aux_source_directory(. APP_SRC)
add_definitions(-D _XOPEN_SOURCE)
add_executable(server ${APP_SRC})
target_link_libraries(server pthread)